using System;
using CUtil;
using System.Collections;
using System.Data;


//XML serializing does not work with this class 
// for future use 
namespace CStock
{

	
//	/// <summary>
//	/// Summary description for ITradeCondition.
//	/// </summary>
	public interface ITradeEconomy : ITrader
	{
       bool SetTradeOrdersForEconomyBunds();
        INewsCollection NewsCollection { get;set;}

        bool FirstInitIndicators_All();
        bool Serialize_OnlySimpleProperties();

        double Overall_Value_Assets { get;}
        double Overall_Value_Total { get;}
        double Overall_Value_Deposits { get;}
        double Overall_Value_Shares { get;}
        double Overall_Money_Current { get;}

        DataTable StatusReport { get;}
        void CreateStatusReportBase();
        bool AddStatusReportItem();
        bool SetAssetsToTraders(IAssets ass);
        bool SetDepositsToTraders(IDeposits ass);

        IEconomyStatusCollection EconomyStatusCollection { get;set;}
        

        ArrayList OrderAssetsSell { get;set;}
        ArrayList OrderAssetsBuy { get;set;}
        ArrayList OrderDepositSell { get;set;}
        ArrayList OrderDepositBuy { get;set;}
   
        bool CreateOrderColections(IOrders orderCollection);
        bool TradeAll(int myDateIndex);
        ITraders Traders{ get;set;}
        //int Number_Traders { get;set;}

        bool Empty_All();

        bool DefaultPortfolios_Share();
        bool DefaultPortfolios_Bonds();
        bool Default_Traders();

        bool AddOneDay();
        
        bool Serialize_DataClasses();

        bool SetTradeOrders();
        ITradeEconomyProfile TradeEconomyProfile { get;set;}
        IEconomyStatus EconomyStatus_Current { get;}

        DateTime Date_Current { get;set;}
        DateTime Date_Start { get;set;}

      

        bool CreateShareData_FromDateStart(int numberOfDays);

        string ExcelFileName { get;set;}


        

	}
}
